<!DOCTYPE html>
<html lang="zh-CN">
<head>
  <meta charset="UTF-8">
  <meta name="author" content="wangbo">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>文字环绕</title>
  <!-- 导入外部样式 -->
  <link rel="stylesheet" href="../base.css">
  <style>
    .box{
      /* 所有的字体居中 */
      text-align: center;
    }
    .box a{
      display: inline-block;
      color: black;
      width: 45px;
      height: 45px;
      background-color: #F7F7F7;
      /* 字垂直居中 */
      line-height: 45px;
    }
    .box .current{
      background-color: #fff;
    }
    .box .prev,.box .next{
      width: 100px;
    }
    .box input{
      width: 45px;
      height: 45px;
      /* border: none; */
      border: 1px solid #D8D8D8;
    }
    .box button{
      display: inline-block;
      width: 70px;
      height: 45px;
      border: none;
      background-color: #F7F7F7;
    }
  </style>
</head>
<body>
  <div class="box">
    <a href="#" target="_blank" class="prev" > &lt;&lt; 上一页</a>
    <a href="#" target="_blank" class="current" > 2</a>
    <a href="#" target="_blank" > 3</a>
    <a href="#" target="_blank" > 4</a>
    <a href="#" target="_blank" > 5</a>
    <a href="#" target="_blank" > 6</a>
    <a href="#" target="_blank" class="current" > ...</a>
    <a href="#" target="_blank" class="next"> 下一页 &gt;&gt; </a>
    到 第<input type="text">页
    <button>确定</button>
  </div>
</body>
</html>